cb1c52ab4aeec1637dd569824962d63695129e76,platform/platform-impl/src/com/intellij/ide/ui/laf/darcula/ui/DarculaComboBoxUI.java,DarculaComboBoxUI,paintBorder,#Component#Graphics#number#number#number#number#,325
Before Change
if (editor != null && comboBox.isEditable()) {
g.setColor(editor.getBackground());
g.fillRoundRect(x + JBUI.scale(1), y + JBUI.scale(1), W, H, R, R);
g.setColor(getArrowButtonFillColor(arrowButton.getBackground()));
g.fillRoundRect(xxx, y + JBUI.scale(1), width - xxx, H, R, R);
g.setColor(editor.getBackground());
g.fillRect(xxx, y + JBUI.scale(1), JBUI.scale(5), H);
} else {
g.setColor(UIUtil.getPanelBackground());
g.fillRoundRect(x + JBUI.scale(1), y + JBUI.scale(1), W, H, R, R);
g.setColor(getArrowButtonFillColor(arrowButton.getBackground()));
g.fillRoundRect(xxx, y + JBUI.scale(1), width - xxx, H, R, R);
g.setColor(UIUtil.getPanelBackground());
g.fillRect(xxx, y + JBUI.scale(1), JBUI.scale(5), H);
}
After Change
final Color background = editor != null && comboBox.isEditable()
? editor.getBackground()
: UIUtil.getPanelBackground();
g.setColor(background);
g.fillRoundRect(x + JBUI.scale(1), y + JBUI.scale(1), W, H, R, R);
g.setColor(getArrowButtonFillColor(arrowButton.getBackground()));
g.fillRoundRect(xxx, y + JBUI.scale(1), width - xxx, H, R, R);
g.setColor(background);
g.fillRect(xxx, y + JBUI.scale(1), JBUI.scale(5), H);